<html>
<head>
<title>Docs For Class ForLiquidTag</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Liquid</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
  		  [ <a href="../classtrees_Liquid.html" class="menu">class tree: Liquid</a> ]
		  [ <a href="../elementindex_Liquid.html" class="menu">index: Liquid</a> ]
		  [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_Liquid.html">Liquid</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../Liquid/_lib_liquid_block_php.html">		block.php
		</a><br>
			<a href="../Liquid/_lib_liquid_context_php.html">		context.php
		</a><br>
			<a href="../Liquid/_lib_liquid_document_php.html">		document.php
		</a><br>
			<a href="../Liquid/_lib_liquid_drop_php.html">		drop.php
		</a><br>
			<a href="../Liquid/_lib_liquid_file_system_php.html">		file_system.php
		</a><br>
			<a href="../Liquid/_lib_liquid_filterbank_php.html">		filterbank.php
		</a><br>
			<a href="../Liquid/_lib_liquid_htmltags_php.html">		htmltags.php
		</a><br>
			<a href="../Liquid/_lib_liquid_php.html">		liquid.php
		</a><br>
			<a href="../Liquid/_lib_liquid_standardfilters_php.html">		standardfilters.php
		</a><br>
			<a href="../Liquid/_lib_liquid_standardtags_php.html">		standardtags.php
		</a><br>
			<a href="../Liquid/_lib_liquid_support_php.html">		support.php
		</a><br>
			<a href="../Liquid/_lib_liquid_tag_php.html">		tag.php
		</a><br>
			<a href="../Liquid/_lib_liquid_template_php.html">		template.php
		</a><br>
			<a href="../Liquid/_lib_liquid_variable_php.html">		variable.php
		</a><br>
	  </div><br />
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../Liquid/AssignLiquidTag.html">AssignLiquidTag</a><br />
	    		<a href="../Liquid/CaptureLiquidTag.html">CaptureLiquidTag</a><br />
	    		<a href="../Liquid/CaseLiquidTag.html">CaseLiquidTag</a><br />
	    		<a href="../Liquid/CommentLiquidTag.html">CommentLiquidTag</a><br />
	    		<a href="../Liquid/CycleLiquidTag.html">CycleLiquidTag</a><br />
	    		<a href="../Liquid/ForLiquidTag.html">ForLiquidTag</a><br />
	    		<a href="../Liquid/IfLiquidTag.html">IfLiquidTag</a><br />
	    		<a href="../Liquid/IncludeLiquidTag.html">IncludeLiquidTag</a><br />
	    		<a href="../Liquid/LiquidBlankFileSystem.html">LiquidBlankFileSystem</a><br />
	    		<a href="../Liquid/LiquidBlock.html">LiquidBlock</a><br />
	    		<a href="../Liquid/LiquidContext.html">LiquidContext</a><br />
	    		<a href="../Liquid/LiquidDecisionBlock.html">LiquidDecisionBlock</a><br />
	    		<a href="../Liquid/LiquidDocument.html">LiquidDocument</a><br />
	    		<a href="../Liquid/LiquidDrop.html">LiquidDrop</a><br />
	    		<a href="../Liquid/LiquidFilterbank.html">LiquidFilterbank</a><br />
	    		<a href="../Liquid/LiquidLocalFileSystem.html">LiquidLocalFileSystem</a><br />
	    		<a href="../Liquid/LiquidRegexp.html">LiquidRegexp</a><br />
	    		<a href="../Liquid/LiquidStandardFilters.html">LiquidStandardFilters</a><br />
	    		<a href="../Liquid/LiquidTag.html">LiquidTag</a><br />
	    		<a href="../Liquid/LiquidTemplate.html">LiquidTemplate</a><br />
	    		<a href="../Liquid/LiquidVariable.html">LiquidVariable</a><br />
	    		<a href="../Liquid/TableRowLiquidTag.html">TableRowLiquidTag</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: ForLiquidTag</h1>
Source Location: /liquid/standardtags.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre><a href="../Liquid/LiquidTag.html">LiquidTag</a>
   |
   --<a href="../Liquid/LiquidBlock.html">LiquidBlock</a>
      |
      --ForLiquidTag</pre><br />
<div class="description">Loops over an array, assigning the current value to a given variable</div><br /><br />







</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../Liquid/ForLiquidTag.html#var$collection_name">$collection_name</a></li>
    <li><a href="../Liquid/ForLiquidTag.html#var$name">$name</a></li>
    <li><a href="../Liquid/ForLiquidTag.html#var$variable_name">$variable_name</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../Liquid/ForLiquidTag.html#methodForLiquidTag">ForLiquidTag</a></li>
    <li><a href="../Liquid/ForLiquidTag.html#methodrender">render</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>




<td valign="top">
<h3>Inherited Variables</h3>
<div class="tags">
<h4>Class: <a href="../Liquid/LiquidBlock.html">LiquidBlock</a></h4>
<dl>
<dt>
  <a href="../Liquid/LiquidBlock.html#var$nodelist">LiquidBlock::$nodelist</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
<div class="tags">
<h4>Class: <a href="../Liquid/LiquidTag.html">LiquidTag</a></h4>
<dl>
<dt>
  <a href="../Liquid/LiquidTag.html#var$attributes">LiquidTag::$attributes</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../Liquid/LiquidTag.html#var$file_system">LiquidTag::$file_system</a>
  </dt>
<dd>
   
</dd>
<dt>
  <a href="../Liquid/LiquidTag.html#var$markup">LiquidTag::$markup</a>
  </dt>
<dd>
   
</dd>
</dl>
</div>
</td>

<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: <a href="../Liquid/LiquidBlock.html">LiquidBlock</a></h4>
<dl>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodassert_missing_delimitation">LiquidBlock::assert_missing_delimitation()</a>
  </dt>
  <dd>
    This method is called at the end of parsing, and will through an error unless  this method is subclassed, like it is for LiquidDocument
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodblock_delimiter">LiquidBlock::block_delimiter()</a>
  </dt>
  <dd>
    Returns the string that delimits the end of the block
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodblock_name">LiquidBlock::block_name()</a>
  </dt>
  <dd>
    Returns the name of the block
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodcreate_variable">LiquidBlock::create_variable()</a>
  </dt>
  <dd>
    Create a variable for the given token
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodend_tag">LiquidBlock::end_tag()</a>
  </dt>
  <dd>
    An action to execute when the end tag is reached
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodparse">LiquidBlock::parse()</a>
  </dt>
  <dd>
    Parses the given tokens
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodrender">LiquidBlock::render()</a>
  </dt>
  <dd>
    Render the block.
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodrender_all">LiquidBlock::render_all()</a>
  </dt>
  <dd>
    Renders all the given nodelist's nodes
  </dd>
    <dt>
    <a href="../Liquid/LiquidBlock.html#methodunknown_tag">LiquidBlock::unknown_tag()</a>
  </dt>
  <dd>
    Handler for unknown tags
  </dd>
  </dl>
<h4>Class: <a href="../Liquid/LiquidTag.html">LiquidTag</a></h4>
<dl>
    <dt>
    <a href="../Liquid/LiquidTag.html#methodLiquidTag">LiquidTag::LiquidTag()</a>
  </dt>
  <dd>
    Constructor
  </dd>
    <dt>
    <a href="../Liquid/LiquidTag.html#methodextract_attributes">LiquidTag::extract_attributes()</a>
  </dt>
  <dd>
    Extracts tag attributes from a markup string
  </dd>
    <dt>
    <a href="../Liquid/LiquidTag.html#methodname">LiquidTag::name()</a>
  </dt>
  <dd>
    Returns the name of the tag
  </dd>
    <dt>
    <a href="../Liquid/LiquidTag.html#methodparse">LiquidTag::parse()</a>
  </dt>
  <dd>
    Parse the given tokens
  </dd>
    <dt>
    <a href="../Liquid/LiquidTag.html#methodrender">LiquidTag::render()</a>
  </dt>
  <dd>
    Render the tag with the given context
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 277]<br />
Loops over an array, assigning the current value to a given variable<br /><br /></div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$collection_name"></a>
	<p></p>
	<h4>$collection_name = <span class="value"></span></h4>
	<p>[line 284]</p>
  The collection to loop over<br /><br />
  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>array</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$name"></a>
	<p></p>
	<h4>$name = <span class="value"></span></h4>
	<p>[line 298]</p>
  The name of the loop, which is a compound of the collection and variable names<br /><br />
  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$variable_name"></a>
	<p></p>
	<h4>$variable_name = <span class="value"></span></h4>
	<p>[line 291]</p>
  The variable name to assign collection elemnts to<br /><br />
  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
  <hr />
	<a name="methodForLiquidTag"></a>
	<h3>constructor ForLiquidTag <span class="smalllinenumber">[line 308]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code><a href="../Liquid/ForLiquidTag.html">ForLiquidTag</a> ForLiquidTag(
string
$markup, array
&$tokens, LiquidFileSystem
&$file_system)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Constructor<br /><br /><br /><br />


        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$markup</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$tokens</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
          <tr>
        <td class="type">LiquidFileSystem&nbsp;&nbsp;</td>
        <td><b>$file_system</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodrender"></a>
	<h3>method render <span class="smalllinenumber">[line 333]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void render(
<a href="../Liquid/LiquidContext.html">LiquidContext</a>
&$context)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Renders the tag<br /><br /><br /><br />

Overrides <a href="../Liquid/LiquidBlock.html#methodrender">LiquidBlock::render()</a> (Render the block.)<br /><br />
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type"><a href="../Liquid/LiquidContext.html">LiquidContext</a>&nbsp;&nbsp;</td>
        <td><b>$context</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Mon, 26 Jun 2006 22:45:45 -0400 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>